home *** CD-ROM | disk | FTP | other *** search
/ Net Connect / NetConnect - Version 1.iso / amitcp / providers / fin_kolumbus next >
Encoding:
Text File  |  1996-11-29  |  2.0 KB  |  92 lines

  1. /* Provider Configuration Follows:
  2. Name        FIN_Kolumbus    ; Name for this configuration
  3. DialUp          1
  4. Interface    slip        ; 
  5. InterfaceConfig "VJCMode=2 "    ; Use Van Jacobson header compression
  6. NeedSerial      1
  7. IPDynamic    0         ; 1 = YES, 0 = NO
  8. IPAddr                ; IP-address if static
  9. NSDynamic    1        ; 1 = YES, 0 = NO
  10. UseBootP    0        ; 1 = YES, 0 = NO
  11. MTU        968        ; Provider specific
  12. Phone        "107751"    ; phone numbers (separated with spaces)
  13. */
  14.  
  15. /*
  16.  *    $Id: FIN_Kolumbus,v 1.3 1996/05/14 01:10:14 ppessi Exp jraja $
  17.  *
  18.  *     AmiTCP/IP Dial Script for Telecom Finland INet Open
  19.  *
  20.  *    Copyright © 1996 AmiTCP/IP Group,
  21.  *                     Network Solutions Development Inc.
  22.  *                     All rights reserved.
  23.  * 
  24.  */
  25.  
  26.  
  27. options results
  28. signal on error
  29.  
  30. Set WaitForTimeout 30
  31. Set InterCharDelay 20
  32.  
  33. /* 
  34.  * You should type your login information here: 
  35.  */
  36. YourLogin="YOUR LOGIN"
  37. YourPassword="YOUR PASSWORD"
  38. Get IPAddr
  39.  
  40. ShowConsole
  41.  
  42. call CheckModemState
  43. /*
  44.  * If modem is already online, assume that we have an existing
  45.  * slip connection, and skip dialing and the login sequence
  46.  */
  47. if (result = 0) then do
  48.   call CommandState
  49.  
  50.   call Dial
  51.  
  52.   if (result != 0) then
  53.     exit 10
  54.  
  55.   /*
  56.    * Login sequence
  57.    */
  58.   /*
  59.    * Manual login if user has not edited this script to contain his own
  60.    * user information.
  61.    * DO NOT EDIT THE "YOUR LOGIN" HERE!
  62.    */
  63.   if ( YourLogin = "YOUR LOGIN" ) then do
  64.     Say "Please log in manually using the terminal window shown. You can have"
  65.     Say "automated login, if you edit AmiTCP:db/provider.conf to include your"
  66.     Say "login name and password."
  67.     Status "Please log in manually:"
  68.     ManualConsole
  69.   end
  70.   else do
  71.     SendLn "" 
  72.     SendLn ""
  73.     WaitFor "Username:"
  74.     SendLn YourLogin
  75.     WaitFor "Password:"
  76.     SendLn YourPassword
  77.     WaitFor "gw>"
  78.     SendLn "slip /compressed " IPAddr
  79.     WaitFor "Password:"
  80.     SendLn YourPassword
  81.     Pause 5    
  82.   end
  83. end
  84.  
  85. set NAMESERVER1 193.229.0.40
  86.  
  87. exit 0; /* succesfull exit */
  88.  
  89. error:
  90. Say "Kolumbus: Command on line" SIGL "returned" RC ":" SerScript.LASTERROR
  91. Exit 10
  92.